Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update stlSerializer.ts #9160

Merged
merged 6 commits into from Oct 15, 2020
Merged

Update stlSerializer.ts #9160

merged 6 commits into from Oct 15, 2020

Conversation

aWeirdo
Copy link
Contributor

@aWeirdo aWeirdo commented Oct 13, 2020

Fix wrong orientation, flipped faces and bloated binary export.

-- Original mesh
head_original

-- After current export
head_export_now

-- After fixed export
head_export_fixed

Last minute changes..
Removed n vector3 negating & switched the input values as suggested.
Updated default fileName to match binary mesh name (which is always 'stlmesh')
Updated ASCII mesh name to match binary mesh name for consistency
And removed fileName check in download code as it is defaulted at beginning.
@aWeirdo
Copy link
Contributor Author

aWeirdo commented Oct 13, 2020

Last minute changes,
Removed n vector3 negating & switched the input values as suggested.
Updated default fileName to match binary mesh name (which is always 'stlmesh')
Updated ASCII mesh name to match binary mesh name for consistency
And removed fileName check in download code as it is defaulted at beginning.

@aWeirdo aWeirdo requested a review from RaananW October 14, 2020 23:35
@deltakosh deltakosh merged commit bdac65f into BabylonJS:master Oct 15, 2020
@aWeirdo aWeirdo deleted the patch-1 branch October 15, 2020 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants